package com.chenjun.core.service.sys;

import java.util.List;
import java.util.Map;

import com.chenjun.common.bean.Pagination;
import com.chenjun.common.model.DataGridModel;
import com.chenjun.core.dao.generator.entity.SysArea;
import com.chenjun.core.vo.sys.AreaTree;


public interface SysAreaService{

	public SysArea get(String id);

	public int create(SysArea record);

	public int delete(String id);

	public int update(SysArea record);

	public int createOrUpdate(SysArea record);

	public int doCountByCondition(DataGridModel param);

	public List<SysArea> doListByCondition(DataGridModel param);
	
	public List<AreaTree> selectTreeByCondition(DataGridModel param);
	public Pagination doPagination(DataGridModel param);

	public SysArea getTypeById(String id);

	public List<Map> getArea(String content);

	public SysArea getResource(String id);
}